<?php
/**
 * Created by PhpStorm.
 * User: zcq
 * Date: 2018/10/16
 * Time: 15:35
 */

namespace app\admin\model;


use think\Model;

class VoteItems extends BaseModel
{
    const TABLE = 'vote_items';
    public $rules = [
        'vote_id'=>'require|number',
        'vote_type_id'=>'require|number',
        'mid|作品编号'=>'require|number|unique:vote_items',
        'name'=>'require',
    ];
}